<?php 
!defined('DEBUG') AND exit('Access Denied.');
$action = param(3);

$music_nav = param('music_nav');
$music_index = param('music_index');

$ty_music = kv_get('ty_music');
if($method == 'GET') {
if(empty($ty_music)) {
	$ak_movie = array(
		'music_nav'=>$music_nav, 
		'music_index'=>$music_index, 
	);
	kv_set('ty_music', $ty_music);
}			
	

	$music_nav = form_radio_yes_no('music_nav',$ty_music['music_nav']);
	$music_index = form_radio_yes_no('music_index',$ty_music['music_index']);

	include _include(APP_PATH.'plugin/ty_music/setting.htm');		
	} else {
		$ty_music['music_nav'] = param('music_nav');
		$ty_music['music_index'] = param('music_index');
		kv_set('ty_music', $ty_music);	
		message(0, '修改成功');
}
	



?>
